const path = require('path')

module.exports ={
  entry:  path.join(__dirname, 'src/index.js'),
  output: {
    publicPath: '/dist/',
    filename: 'bundle.js'
  },
  mode: 'development',
  devServer: {
    port: 8080,
    static: 'www'
  }
}